package es.udc.emarketapp.emarket.model.shippingFacade.vo;

import java.io.Serializable;
import java.util.List;

public class ShippingsCountryVO implements Serializable {

    private static final long serialVersionUID = 1L;
    private String idSeller;
    private String idCountry;
    private String nomCountry;
    private List<Double> weightRanges;
    private List<Double> priceRanges;

    public ShippingsCountryVO(String idSeller, String idCountry, 
            String nomCountry, List<Double> weightRanges, List<Double> priceRanges) {
        this.idSeller = idSeller;
        this.idCountry = idCountry;
        this.nomCountry = nomCountry;
        this.weightRanges = weightRanges;
        this.priceRanges = priceRanges;
    }

    public String getIdCountry() {
        return idCountry;
    }

    public void setIdCountry(String idCountry) {
        this.idCountry = idCountry;
    }

    public String getIdSeller() {
        return idSeller;
    }

    public void setIdSeller(String idSeller) {
        this.idSeller = idSeller;
    }

    public List<Double> getPriceRanges() {
        return priceRanges;
    }

    public void setPriceRanges(List<Double> priceRanges) {
        this.priceRanges = priceRanges;
    }

    public List<Double> getWeightRanges() {
        return weightRanges;
    }

    public void setWeightRanges(List<Double> weightRanges) {
        this.weightRanges = weightRanges;
    }

    public String getNomCountry() {
        return nomCountry;
    }

    public void setNomCountry(String nomCountry) {
        this.nomCountry = nomCountry;
    }

    @Override
    public String toString(){

      Object objetos [] = weightRanges.toArray();

        return "ShippingsCountryVO{" + "idSeller=" +
                idSeller + "idCountry=" + idCountry + "nomCountry=" +
                nomCountry + "weightRanges=" + (Double)objetos[1] +
                 + '}';
    }


    
}
